package com.example.sunmiv1.entity;

import java.util.ArrayList;
import java.util.List;

public class CashierListInfo {

    /**
     * status : 1
     * data : [{"id":"11","name":"收銀員1"},{"id":"12","name":"收銀員2"},{"id":"15","name":"測試密碼"},{"id":"23","name":"錢多多"},{"id":"24","name":"小雨"},{"id":"26","name":"laowang"},{"id":"27","name":"發發發"}]
     */

    private int status;
    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<DataBean> getData() {
        if (data == null) {
            return new ArrayList<>();
        }
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        public DataBean(String id, String name) {
            this.id = id;
            this.name = name;
        }

        /**
         * id : 11
         * name : 收銀員1
         */



        private String id;
        private String name;

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name == null ? "" : name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
